﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.Windows;
using System.Windows.Controls.Primitives;

namespace GameStudio.IDE.Controls
{
    [TemplatePart(Name = "treeView", Type = typeof(TreeView))]

    public class SolutionExplorerControl : Control
    {
        TreeView treeView;

        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            treeView = (TreeView)GetTemplateChild("treeView");
            treeView.Items.Add("Classes");
        }
    }
}
